package com.ruoyi.jinchuguanli.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * saomachuku对象 saomachuku
 *
 * @author ruoyi
 * @date 2023-11-08
 */
public class Saomachuku extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id主键
     */
    private Integer id;

    /**
     * 出库人
     */
    @Excel(name = "出库人")
    private String chukuren;

    /**
     * 出库时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出库时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date chukushijian;

    /**
     * 出库单号
     */
    @Excel(name = "出库单号")
    private String chukudanhao;

    /**
     * 出库商品
     */
    @Excel(name = "出库商品")
    private String shangpinbianhao;

    /**
     * 出库数量
     */
    @Excel(name = "出库数量")
    private Long sahngpinshuliang;

    private int xiugai;

    private int danjuid;

    public void setId (Integer id) {
        this.id = id;
    }

    public Integer getId () {
        return id;
    }

    public void setChukuren (String chukuren) {
        this.chukuren = chukuren;
    }

    public String getChukuren () {
        return chukuren;
    }

    public void setChukushijian (Date chukushijian) {
        this.chukushijian = chukushijian;
    }

    public Date getChukushijian () {
        return chukushijian;
    }

    public void setChukudanhao (String chukudanhao) {
        this.chukudanhao = chukudanhao;
    }

    public String getChukudanhao () {
        return chukudanhao;
    }

    public void setShangpinbianhao (String shangpinbianhao) {
        this.shangpinbianhao = shangpinbianhao;
    }

    public String getShangpinbianhao () {
        return shangpinbianhao;
    }

    public void setSahngpinshuliang (Long sahngpinshuliang) {
        this.sahngpinshuliang = sahngpinshuliang;
    }

    public Long getSahngpinshuliang () {
        return sahngpinshuliang;
    }

    public int getXiugai() {
        return xiugai;
    }

    public void setXiugai(int xiugai) {
        this.xiugai = xiugai;
    }

    public int getDanjuid() {
        return danjuid;
    }

    public void setDanjuid(int danjuid) {
        this.danjuid = danjuid;
    }

    @Override
    public String toString () {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("chukuren", getChukuren())
                .append("chukushijian", getChukushijian())
                .append("chukudanhao", getChukudanhao())
                .append("shangpinbianhao", getShangpinbianhao())
                .append("sahngpinshuliang", getSahngpinshuliang())
                .toString();
    }
}
